package com.ruoyi.course.constants;

/**
 * 课程安排相关常量
 * 
 * @author UtadaCCC
 * @date 2025-06-18
 */
public class CourseScheduleConstants {
    
    /**
     * 课程安排类型
     */
    public static class ScheduleType {
        /** 一键添加 */
        public static final String BATCH_ADD = "1";
        
        /** 手动添加的单次课程 */
        public static final String MANUAL = "2";
        
        /** 补课 */
        public static final String MAKEUP = "3";
        
        /** 特殊课程 */
        public static final String SPECIAL = "4";
        
        /** 一键加课生成 */
        public static final String ONE_CLICK_ADD = "5";
        
        /**
         * 获取类型名称
         */
        public static String getTypeName(String scheduleType) {
            switch (scheduleType) {
                case BATCH_ADD: return "一键添加";
                case MANUAL: return "手动添加";
                case MAKEUP: return "补课";
                case SPECIAL: return "特殊课程";
                case ONE_CLICK_ADD: return "一键加课";
                default: return "未知";
            }
        }
    }
    
    /**
     * 课程状态
     */
    public static class Status {
        /** 正常 */
        public static final String ACTIVE = "1";
        
        /** 删除 */
        public static final String DELETED = "0";
        
        /**
         * 获取状态名称
         */
        public static String getStatusName(String status) {
            switch (status) {
                case ACTIVE: return "正常";
                case DELETED: return "已删除";
                default: return "未知";
            }
        }
    }
    
    /**
     * 星期映射
     */
    public static class WeekDay {
        public static final String MONDAY = "周一";
        public static final String TUESDAY = "周二";
        public static final String WEDNESDAY = "周三";
        public static final String THURSDAY = "周四";
        public static final String FRIDAY = "周五";
        public static final String SATURDAY = "周六";
        public static final String SUNDAY = "周日";
    }
} 